package com.iwhalecloud.bss.kite.cucc.spec.impl.query;

import com.iwhalecloud.bss.kite.dataservice.api.IQueryAdditionalExtProdService;
import com.iwhalecloud.bss.kite.dataservice.entity.spec.AdditionalExtProd;
import com.iwhalecloud.bss.kite.dataservice.mapper.spec.OfferRelMapper;
import com.ztesoft.bss.common.util.SpringUtil;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdditionalExtProdQueryService implements IQueryAdditionalExtProdService {

	@Override
	public List<AdditionalExtProd> listAdditionalExtProducts(String offerId, List<String> prodIds) {
		return SpringUtil.getBean(OfferRelMapper.class).listAdditionalExtProduct(offerId, prodIds);
	}

}
